package kin.test;



public class HHH {  
    public static void main(String[] args) {  
        BBB proxy = new BBB();  
       // XtypeFactory hello = (XtypeFactory) proxy.getProxyInstance(new XtypeFactory());  
      // System.out.println(hello.test("vvv"));
      /*  System.out.println(hello.sayHello("Leon"));  
        UserDaoImpl userDao = (UserDaoImpl) proxy.getProxyInstance(new UserDaoImpl());  
        userDao.login("Leon", "1234");  */
        //System.out.println(userDao.getClass().getSuperclass());//看动态代理实例的父类  
    }  
}  
